package com.umeox.watch.moto.dataservice.mqtt.bean;

/**
 * Created by Rambo 2020/5/23
 * Describe:
 */
public class VoipTokenBody {

    public String holderId;
    public String memberId;
    public String channel;


    public static final class Builder {
        public String holderId;
        public String memberId;
        public String channel;

        private Builder() {
        }

        public static Builder aVoipTokenBody() {
            return new Builder();
        }

        public Builder setHolderId(String holderId) {
            this.holderId = holderId;
            return this;
        }

        public Builder setMemberId(String memberId) {
            this.memberId = memberId;
            return this;
        }

        public Builder setChannel(String channel) {
            this.channel = channel;
            return this;
        }

        public VoipTokenBody build() {
            VoipTokenBody voipTokenBody = new VoipTokenBody();
            voipTokenBody.channel = this.channel;
            voipTokenBody.holderId = this.holderId;
            voipTokenBody.memberId = this.memberId;
            return voipTokenBody;
        }
    }

    @Override
    public String toString() {
        return "VoipTokenBody{" +
                "holderId='" + holderId + '\'' +
                ", memberId='" + memberId + '\'' +
                ", channel='" + channel + '\'' +
                '}';
    }
}
